package com.cloud.business.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.business.model.commonvm.DeletePost;
import com.cloud.business.model.commonvm.ResultMsg;

import com.cloud.business.entity.sys.SysMapCoefficient;
import com.cloud.business.model.sys.mapcoefficient.*;
import com.cloud.core.common.HttpContentResult;


/**
 * 地图系数配置 业务定义层
 * Copyright: Copyright (C) 2020 DLANGEL, Inc. All rights reserved.
 * Company: 大连安琪科技有限公司
 * controller需要执行mp方法请继承extends IService<Entity>
 *
 * @author dh
 * @since 2020-10-12 02:53:20
 */
public interface ISysMapCoefficientService extends IService<SysMapCoefficient> {

    /**
     * 分页列表
     *
     * @param queryModel
     * @return
     * @throws Exception
     */
    HttpContentResult getListByPage(SysMapCoefficientQueryModel queryModel) throws Exception;

    /**
     * 创建
     *
     * @param post
     * @param msg
     * @return
     * @throws Exception
     */
    Integer create(SysMapCoefficientPost post, ResultMsg msg) throws Exception;

    /**
     * 更新
     *
     * @param post
     * @param msg
     * @return
     * @throws Exception
     */
    Integer update(SysMapCoefficientPost post, ResultMsg msg) throws Exception;

    /**
     * 获取单条
     *
     * @param operationId
     * @param objectId
     * @param msg
     * @return
     * @throws Exception
     */
    SysMapCoefficient getById(Integer operationId, Integer objectId, ResultMsg msg) throws Exception;

    /**
     * 批量删除
     *
     * @param deletePost
     * @param msg
     * @return
     * @throws Exception
     */
    int deleteByList(DeletePost deletePost, ResultMsg msg) throws Exception;
}

